Activitypub\Transformer\Post C

Total Complexity 119
Dependencies 7
Dependents 1
Total lines 925
Lines of code 508
Logical lines of code 308
Comment lines 289
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
get_media_from_blocks()
B
41 18 57
wp_attachment_to_activity_attachment()
A
43 10 51
get_classic_editor_image_embeds()
A
47 11 36
get_type()
A
48 8 36
get_enclosures()
S
51 7 28
get_attachment()
S
48 6 33
get_post_content_template()
S
53 6 22
get_tag()
S
52 5 26
get_actor_object()
S
59 5 16
get_classic_editor_image_attachments()
S
53 4 23
get_url()
S
55 4 19
get_classic_editor_images()
S
60 4 13
to_object()
S
52 3 27
get_name()
S
61 3 14
get_content()
S
54 2 21
get_cc()
S
65 3 10
get_in_reply_to()
S
65 3 9
get_summary()
S
65 3 9
get_block_attachments()
S
66 2 8
get_audience()
S
68 2 8
filter_media_by_object_type()
S
67 2 7
get_mentions()
S
68 1 8
get_locale()
S
71 1 5
get_wp_user_id()
S
82 1 3
get_wordpress_attachment()
S
70 1 6
change_wp_user_id()
S
77 1 4
get_attributed_to()
S
81 1 3
get_id()
S
81 1 3
revert_embed_links()
S
77 1 3